package com.plian.system.entity.yth.nsgl;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author BladeX
 * @since 2023-02-04
 */
@Data
@TableName("collection_problem_audit_record")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ProblemAuditRecord", description = "数据采集-审计整改-审核记录表")
public class ProblemAuditRecord extends YthBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 业务主键id
     */
    @ApiModelProperty(value = "业务主键id")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long bizId;
    /**
     * 审核人id
     */
    @ApiModelProperty(value = "审核人id")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long auditUserId;
    /**
     * 流程实例id
     */
    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;
    /**
     * 流程任务id
     */
    @ApiModelProperty(value = "流程任务id")
    private String processTaskId;
    /**
     * 审核人姓名
     */
    @ApiModelProperty(value = "审核人姓名")
    private String auditUserName;
    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间")
    private LocalDateTime auditTime;
    /**
     * 是否通过
     */
    @ApiModelProperty(value = "是否通过")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer isPass;
    /**
     * 审核意见
     */
    @ApiModelProperty(value = "审核意见")
    private String comment;
    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话")
    private String phone;
    /**
     * 附件ids
     */
    @ApiModelProperty(value = "附件ids")
    private String attachIds;


}
